import type { JSX } from "react";

interface HComProps {
    msg: string,
    children:JSX.Element
}

function HCom({msg,children}:HComProps) {

    return (
        <div>
            <div>HCom

             
            </div>
            {msg}
            {children}
        </div>
    );
    
}

export default HCom;